
#ifndef _KLIGHT_C_
#define _KLIGHT_C_

#define STEP_START 0x0
#define STEP_INIT  0x1
#define STEP_RUN   0x2
#define STEP_WAIT 0x3
#define STEP_PAUSE 0x4
#define STEP_SUSPEND 0x5
#define STEP_RESUME 0x6
#define STEP_CLOSE 0x7


typedef struct
{
   int (*light_init)();
   int (*light_run)(void *arg);
   int (*light_close)();
}Ops_t;
        
typedef struct
{
   int (*light_resume)();
   int (*light_suspend)();
}PM_Ops_t;        

typedef struct
{
   Ops_t FlowObj_Ops;
   unsigned char FlowObj_Steps;
}FlowObj_t;

typedef struct
{
    FlowObj_t flowobj_list[32];
}FlowObjList_t;


#endif